package com.usermanage.beanParam;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.util.List;

/**
 * Created by 過客 on 2018/8/13
 */

@Setter
@Getter
public class GroupParam {
    private Integer id;
    private String group_id;     //组id
    @NotBlank(message = "组织名称不能为空")
    private String group_name;   //组织名称
    private String group_desc;   //组织描述
    private Integer parent_id;   //父级id
    private String level;        //分级
    private String top_parent_id;//顶级父类id
    private Integer group_state; //组状态(0：无效，1：有效)
    private Date creat_time;     //创建时间
    private String creat_user_id;//创建用户id
    private Integer seq;         //排序
    private List<GroupParam> list;

}
